package com.qk.enums;

/**
 * @Author: zhangchuang
 * @Date: 2025/10/13 16:31
 * @Description: 时间枚举类
 */
public enum DateTimeEnum implements Code{

    DATE_PARSE_ERROR("解析时间失败", 10001),
    ;

    private final int code;
    private final String message;

    DateTimeEnum(String message, int code) {
        this.message = message;
        this.code = code;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
